//
//  MyBalanceGetMoneyCell.m
//  CenturyCity
//
//  Created by beisheng03 on 2018/1/4.
//  Copyright © 2018年 beisheng. All rights reserved.
//

#import "MyBalanceGetMoneyCell.h"

@interface MyBalanceGetMoneyCell ()
@property (weak, nonatomic) IBOutlet UIButton *topBtn;

@property (weak, nonatomic) IBOutlet UIButton *rightBtn;
@end


@implementation MyBalanceGetMoneyCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    
    self.topBtn.titleLabel.font = MYFONT(16);
    
    self.topBtn.layer.cornerRadius = 22;
    self.topBtn.backgroundColor = themeColor;

    self.topBtn.layer.masksToBounds = YES;
    
    [self.topBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    [self.topBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateHighlighted];
    
    
    self.rightBtn.titleLabel.font = MYFONT(16);
    
    self.rightBtn.backgroundColor = themeColor;
    
    self.rightBtn.layer.cornerRadius = 22;
    
    self.rightBtn.layer.masksToBounds = YES;
    
    [self.rightBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    [self.rightBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateHighlighted];

    // Initialization code
}


- (IBAction)btnDidTap:(UIButton *)sender {
    
    if ([self.delegate respondsToSelector:@selector(getMoneyBtnDidClick)]) {
        [self.delegate getMoneyBtnDidClick];
    }
}



- (IBAction)rightBtnDidTap:(UIButton *)sender {
    
    if ([self.delegate respondsToSelector:@selector(getToCongMoneyBtnDidClick)]) {
        [self.delegate getToCongMoneyBtnDidClick];
    }
    
    
    
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
